package com.ys.erp.common.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * type枚举
 *
 * @author lwj
 * @date 2021/5/6
 */
@AllArgsConstructor
@Getter
public enum LockEnum {

    PROCURE_CREATE_ORDER("lock:procure_create_order:{0}", "创建采购订单锁"),

    CREATE_SHOP_ORDER("lock:create_shop_order:{0}", "创建订单锁"),
    Tl_APPLY_BIND_CARD("lock:tl_apply_bind_card:{0}", "申请通联绑卡锁"),
    Tl_BIND_CARD("lock:tl_bind_card:{0}", "通联绑卡锁"),
    Tl_APPLY_PAY("lock:tl_bind_card:{0}", "通联申请支付锁"),
    LOCK("lock:{0}:{1}:{2}", "redisson注解锁"),
    Tl_CALLBACK("lock:callback:{0}", "通联回调锁"),

    WFB_SEPARATE_ACCOUNTS_LOCK("lock:wfb:separate_accounts", "支付宝分账锁"),
    WFB_SEPARATE_ACCOUNTS_QUERY_ORDER_LOCK("lock:wfb:separate_accounts_query_order", "支付宝分账查询锁");

    private final String lockKey;

    private final String des;

}
